package com.zrj.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author zhaorujie
 * @version 1.0
 * @Description
 * @date 2021/2/1 10:41
 */
@ConfigurationProperties(prefix = "gulimall.thread")
@Data
public class ThreadPoolConfigProperties {
    /**
     * 核心线程大小
     */
    private Integer coreSize;
    /**
     * 最大线程数
     */
    private Integer maxSize;
    /**
     * 最大处理时间
     */
    private Integer keepAliveTime;
}
